<template>
	<!-- 大文件分片上传 -->
	<div class="upload">
		<h1>基座-upload page</h1>
		<div id="map">
			<input type="file" @change="handleFileChange" />
		</div>
	</div>
</template>

<script>
	import {choiceFile}from '@/utils/upload/fileUpload.js'
	export default {
		name: 'upload',
		data() {
			return {
				
			};
		},
		mounted() {
			
		},
		methods: {
			handleFileChange(e){
				//参数文件和分片大小
				choiceFile(e,5)
			}
		}
	}
</script>

<style scoped>
	#map{
		height: 500px;
	}
</style>